package com.ljtg.ljtgpojo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "EmployeeLoginVO", description = "员工登录视图对象")
public class EmployeeLoginVO implements Serializable {

    @Schema(description = "主键ID", example = "1")
    private Long id;

    @Schema(description = "用户名", example = "john_doe")
    private String userName;

    @Schema(description = "姓名", example = "John Doe")
    private String name;

    @Schema(description = "Token", example = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9")
    private String token;
}